package com.by.common.utils;

import com.by.common.ex.BusinessException;

/**
 * @author Hzy
 * @version 1.0
 * @date 2025/2/17  22:06
 * @description
 * @since jdk11
 */



    /**
 * @author HY
 * @version 1.0
 * @description
 * @date 2025/2/18
 * @since JDK21
 */
public class Assert {
    public static void isZero(int rs, String msg){
        if(rs==0)
            throw new BusinessException(msg);
    }
}
